home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntlpr.zip / LPR.TXT < prev   
Text File  |  1993-10-13  |  2KB  |  38 lines

  1. LPR is a Berkeley LPD client for the NT console.
  2. It requires TCP/IP services, including properly set-up domain-name
  3. services (if you specify hosts by name rather than IP address).
  4. This is based on a port of the lpr client in W. Richard Steven's
  5. book _UNIX Network Programming_, ported to use WinSock and to use
  6. NT registry to store default host and printer names
  7.  
  8. --jon [Jon S. Whalen]
  9.  
  10. Known shortcomings:
  11. 1. No name globbing. I.e. wild cards on the command-line don't work
  12.    (since the NT console-shell doesn't perform globbing for you)
  13.  
  14. For problems send e-mail to: jon@hook.corp.mot.com
  15.  
  16. ---------------------------------------------------------------------------
  17. LPR: Version 1.0
  18. Usage: lpr [ -{Hh} host ] [ -{Pp} printer ] [ -d ] [-?] [ file ... ]
  19.  
  20. Options:
  21.  -h     direct print request to the specified "host".
  22.  -H     same as -h, and set default print server to "host".
  23.  -p     direct output to the specified "printer".
  24.  -P     same as -p, and set default print queue to "printer".
  25.  -d     print debugging information (also inhibits deletion of control file).
  26.  -?     print usage information.
  27.  
  28. Notes:
  29.  1. If you have never used lpr before, the application will prompt you
  30.     for a default print host and printer name.
  31.  2. Hosts may be specified either as symbolic names or numeric IP addresses.
  32.  3. Default host and printer names are stored in the Registry under the
  33.     key "HKEY_CURRENT_USER\Software\Shareware\Lpr".
  34.  4. This program is freely distributable and is provided "AS-IS", WITHOUT
  35.     WARRANTY of any kind, either express or implied. No guarantee is made
  36.     of suitablility for any purpose, whatsoever.
  37.  
  38. Copyright (c) Jon S. Whalen 1993. All rights reserved.